package com.qfedu.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class MyProduct {
    private Integer id; // 每一行的唯一标识
    private Integer pid;
    private String idCode;
    private Integer pnum;//购买数量
    private Date payDate;//购买日期
    private Date backDate;//赎回日期
    private String paypassword;
    private BigDecimal money;//钱包余额
    private String pname;
    private Double prate;
    private Integer limitDate;
    private BigDecimal price;//理财产品价格
    private String trend;
    private Integer beginPrice;
    private Integer upPrice;

    public MyProduct() {

    }

    public MyProduct(Integer id, Integer pid, String idCode, Integer pnum, Date payDate, Date backDate, String paypassword, BigDecimal money, String pname, Double prate, Integer limitDate, BigDecimal price, String trend, Integer beginPrice, Integer upPrice) {
        this.id = id;
        this.pid = pid;
        this.idCode = idCode;
        this.pnum = pnum;
        this.payDate = payDate;
        this.backDate = backDate;
        this.paypassword = paypassword;
        this.money = money;
        this.pname = pname;
        this.prate = prate;
        this.limitDate = limitDate;
        this.price = price;
        this.trend = trend;
        this.beginPrice = beginPrice;
        this.upPrice = upPrice;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getIdCode() {
        return idCode;
    }

    public void setIdCode(String idCode) {
        this.idCode = idCode;
    }

    public Integer getPnum() {
        return pnum;
    }

    public void setPnum(Integer pnum) {
        this.pnum = pnum;
    }

    public Date getPayDate() {
        return payDate;
    }

    public void setPayDate(Date payDate) {
        this.payDate = payDate;
    }

    public Date getBackDate() {
        return backDate;
    }

    public void setBackDate(Date backDate) {
        this.backDate = backDate;
    }

    public String getPaypassword() {
        return paypassword;
    }

    public void setPaypassword(String paypassword) {
        this.paypassword = paypassword;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Double getPrate() {
        return prate;
    }

    public void setPrate(Double prate) {
        this.prate = prate;
    }

    public Integer getLimitDate() {
        return limitDate;
    }

    public void setLimitDate(Integer limitDate) {
        this.limitDate = limitDate;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getTrend() {
        return trend;
    }

    public void setTrend(String trend) {
        this.trend = trend;
    }

    public Integer getBeginPrice() {
        return beginPrice;
    }

    public void setBeginPrice(Integer beginPrice) {
        this.beginPrice = beginPrice;
    }

    public Integer getUpPrice() {
        return upPrice;
    }

    public void setUpPrice(Integer upPrice) {
        this.upPrice = upPrice;
    }

    @Override
    public String toString() {
        return "MyProduct{" +
                "id=" + id +
                ", pid=" + pid +
                ", idCode='" + idCode + '\'' +
                ", pnum=" + pnum +
                ", payDate=" + payDate +
                ", backDate=" + backDate +
                ", paypassword='" + paypassword + '\'' +
                ", money=" + money +
                ", pname='" + pname + '\'' +
                ", prate=" + prate +
                ", limitDate=" + limitDate +
                ", price=" + price +
                ", trend='" + trend + '\'' +
                ", beginPrice=" + beginPrice +
                ", upPrice=" + upPrice +
                '}';
    }
}
